<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>{{>/WEB-INF/pages/common/meta_base.part.html}}
{{>/WEB-INF/pages/common/refs_base.part.html}}
<title>变色龙 移动平台</title>
</head>
<body>
  <div class="head">
    <div class="head">
		<div class="container head1" style="position: relative; top: 28px;">
			<div class="pull-right">
				<div class="row head-use text-right"></div>
				<div class="row menu"></div>
			</div>
		</div>
	</div>
    <!--Top//End-->
    <!--Con//Start-->
	<div class="container">
	    	<p class="tit1-st">租户服务 > <a href="">租户注册</a></p>
	        <hr class="hr1">
	        <div class="hr-10"></div>
	        <div class="hr-10"></div>
	        <div class="hr-10"></div>
	        <div class="bor-tab bg-st-white">
	        	<div class="bg-st-blue text-center pad-st-b5">
	            	<strong>租户注册成功</strong>
	            </div>
	            <div class="row">
                <ul class="form-st-reg">
                  <li>
               	  	<span>{{username}}你好，感谢你对变色龙的支持.请注意查收帐户激活邮件。如未收到请点击<a href="javascript:email()">重发激活邮件</a>.</span>
               	  </li>
	              <div id="info" class="alert fade in">
	            	<strong></strong>
	   			  </div>
                </ul>
            </div>
        </div>
    </div>
    <!--Con//End-->
    <!--Foot//Start-->
    <div class="container-fluid">
    	
    	<p class="text-center pad-st-b10 muted">Forever Opensource Software Inc. All rights reserved.</p>
    </div>
    <!--Foot//End-->
</body>
</html>
<script type="text/javascript">
	
	$(document).ready(function() {
		$("#info").hide();
	});
	
	function email(){
		$.ajax({ 
			type: "get", 
			url: "{{ctx}}/system/account/reActivateEmail?username=wer", 
			headers: {
				Accept: "application/json; charset=utf-8"
			},
			contentType: "application/x-www-form-urlencoded; charset=utf-8", 
			dataType: "text", 
			success: function(text) { 
				var ret=$.parseJSON(text);
				if(ret.result){
					$("#info strong").html("帐户激活邮件已成功发送");
					$("#info").show();
				}
				else{
					$("#info strong").html(ret.message);
					$("#info").show();
				}
			}, 
			error: function(xhr) { 
				$("#info strong").html(xhr.responseText);
				$("#info").show();
			}
		});
	}
</script>